Optimal. Leaf size=69 \[ \frac {(d+e x)^4 \left (a e^2-b d e+c d^2\right )}{4 e^3}-\frac {(d+e x)^5 (2 c d-b e)}{5 e^3}+\frac {c (d+e x)^6}{6 e^3} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {698} \begin {gather*} \frac {(d+e x)^4 \left (a e^2-b d e+c d^2\right )}{4 e^3}-\frac {(d+e x)^5 (2 c d-b e)}{5 e^3}+\frac {c (d+e x)^6}{6 e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 698
Rubi steps
\begin {align*} \int (d+e x)^3 \left (a+b x+c x^2\right ) \, dx &=\int \left (\frac {\left (c d^2-b d e+a e^2\right ) (d+e x)^3}{e^2}+\frac {(-2 c d+b e) (d+e x)^4}{e^2}+\frac {c (d+e x)^5}{e^2}\right ) \, dx\\ &=\frac {\left (c d^2-b d e+a e^2\right ) (d+e x)^4}{4 e^3}-\frac {(2 c d-b e) (d+e x)^5}{5 e^3}+\frac {c (d+e x)^6}{6 e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 104, normalized size = 1.51 \begin {gather*} \frac {1}{4} e x^4 \left (a e^2+3 b d e+3 c d^2\right )+\frac {1}{3} d x^3 \left (3 a e^2+3 b d e+c d^2\right )+\frac {1}{2} d^2 x^2 (3 a e+b d)+a d^3 x+\frac {1}{5} e^2 x^5 (b e+3 c d)+\frac {1}{6} c e^3 x^6 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (d+e x)^3 \left (a+b x+c x^2\right ) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.34, size = 110, normalized size = 1.59 \begin {gather*} \frac {1}{6} x^{6} e^{3} c + \frac {3}{5} x^{5} e^{2} d c + \frac {1}{5} x^{5} e^{3} b + \frac {3}{4} x^{4} e d^{2} c + \frac {3}{4} x^{4} e^{2} d b + \frac {1}{4} x^{4} e^{3} a + \frac {1}{3} x^{3} d^{3} c + x^{3} e d^{2} b + x^{3} e^{2} d a + \frac {1}{2} x^{2} d^{3} b + \frac {3}{2} x^{2} e d^{2} a + x d^{3} a \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 107, normalized size = 1.55 \begin {gather*} \frac {1}{6} \, c x^{6} e^{3} + \frac {3}{5} \, c d x^{5} e^{2} + \frac {3}{4} \, c d^{2} x^{4} e + \frac {1}{3} \, c d^{3} x^{3} + \frac {1}{5} \, b x^{5} e^{3} + \frac {3}{4} \, b d x^{4} e^{2} + b d^{2} x^{3} e + \frac {1}{2} \, b d^{3} x^{2} + \frac {1}{4} \, a x^{4} e^{3} + a d x^{3} e^{2} + \frac {3}{2} \, a d^{2} x^{2} e + a d^{3} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 103, normalized size = 1.49 \begin {gather*} \frac {c \,e^{3} x^{6}}{6}+a \,d^{3} x +\frac {\left (e^{3} b +3 d \,e^{2} c \right ) x^{5}}{5}+\frac {\left (a \,e^{3}+3 d \,e^{2} b +3 c \,d^{2} e \right ) x^{4}}{4}+\frac {\left (3 a d \,e^{2}+3 d^{2} e b +c \,d^{3}\right ) x^{3}}{3}+\frac {\left (3 d^{2} e a +b \,d^{3}\right ) x^{2}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.94, size = 102, normalized size = 1.48 \begin {gather*} \frac {1}{6} \, c e^{3} x^{6} + \frac {1}{5} \, {\left (3 \, c d e^{2} + b e^{3}\right )} x^{5} + a d^{3} x + \frac {1}{4} \, {\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} x^{4} + \frac {1}{3} \, {\left (c d^{3} + 3 \, b d^{2} e + 3 \, a d e^{2}\right )} x^{3} + \frac {1}{2} \, {\left (b d^{3} + 3 \, a d^{2} e\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 100, normalized size = 1.45 \begin {gather*} x^2\,\left (\frac {b\,d^3}{2}+\frac {3\,a\,e\,d^2}{2}\right )+x^5\,\left (\frac {b\,e^3}{5}+\frac {3\,c\,d\,e^2}{5}\right )+x^3\,\left (\frac {c\,d^3}{3}+b\,d^2\,e+a\,d\,e^2\right )+x^4\,\left (\frac {3\,c\,d^2\,e}{4}+\frac {3\,b\,d\,e^2}{4}+\frac {a\,e^3}{4}\right )+\frac {c\,e^3\,x^6}{6}+a\,d^3\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 110, normalized size = 1.59 \begin {gather*} a d^{3} x + \frac {c e^{3} x^{6}}{6} + x^{5} \left (\frac {b e^{3}}{5} + \frac {3 c d e^{2}}{5}\right ) + x^{4} \left (\frac {a e^{3}}{4} + \frac {3 b d e^{2}}{4} + \frac {3 c d^{2} e}{4}\right ) + x^{3} \left (a d e^{2} + b d^{2} e + \frac {c d^{3}}{3}\right ) + x^{2} \left (\frac {3 a d^{2} e}{2} + \frac {b d^{3}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________